<!--
	作者：956911785@qq.com
	时间：2019年10月23日15:55:25
	描述：未加入读书计划的人员
-->

<template>
	<Modal title="未加入读书计划的人员" v-model="modal0" width="1200px" footer-hide @onCancel="closemodel">
		<div style="background: #fff;">
			<div style="width:100%;float:left;padding-top: 10px;padding-bottom: 10px;">
				<div style="text-align: right;float:left;line-height:32px;padding-left:10px;">年级：</div>
				<div style="width:12%;float:left;">
					<Input v-model="tj.nj"  clearable  style="width: 90%;float:left;" />
				</div>
				<div style="text-align: right;float:left;line-height:32px;padding-left:10px;">班级：</div>
				<div style="width:12%;float:left;">
					<Input v-model="tj.bj"  clearable  style="width: 90%;float:left;" />
				</div>
				<div style="text-align: right;float:left;line-height:32px;padding-left:10px;">学生姓名：</div>
				<div style="width:12%;float:left;">
					<Input v-model="tj.sname"  clearable  style="width: 90%;float:left;" />
				</div>
				<div style="width:30%;text-align: left;float:left;">
					<Button v-on:click="search()" style="margin-left:1%;background: #ffa500;color:#fff;border:1px solid #ffa500;">搜索</Button>
				</div>
			</div>
		</div>
		<div style="width:100%;height:520px;">
			<ss :tj="tj" ref="noreadstaticss" ></ss>
		</div>
	</Modal>
</template>

<script>
	import ss from "./ss";
	export default {
		name: "readstatic",
		props: {
			bss:{
				type: Object
			},	
		},
		data() {
			return {
				tj:{
					nj:'',
					bj:'',
					sname:'',
					bid:''
				},
				modal0:false
			}
		},
		methods: {
			search(){
				this.$refs.noreadstaticss.load();
			},  	
			closemodel(){
				this.modal0=false;
			}
		},
		components: {
			ss,
		},
		mounted(){
		},
		watch:{
			modal0(news,olds){
				if(news){
					this.tj={
						nj:'',
						bj:'',
						sname:'',
						bid:this.bss.bid
					}
					this.$refs.tdtable.load();
				}else{
					this.tj={
						nj:'',
						bj:'',
						sname:'',
						bid:''
					}
				}
			}
		},
		computed: {
			
		}
	}
</script>

<style>
</style>